<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="nav" content="0" />
<meta name="acc" content="check-1" />
<title>指定工程师</title>
<script type="text/javascript" charset="utf-8"
	src="<c:url value='/KindEditor/kindeditor.js'/>"></script>
<script type="text/javascript" src="<c:url value='/scripts/global.js'/>"></script>
<script type="text/javascript">
	function closeeds() {
		var id = $("input[name='id']").val();
		var type = $("input[name='type']").val();
		var projectId = $("input[name='projectId']").val();
		$(window.parent.addCheck(id, type, projectId));
		$(window.parent.closes());
	}
	
	$(document).ready(function() {
		var projectId = $("input[name='projectId']").val();
		var checkType = $("input[name='checkType']").val();
		$("#next").click(function(){
			$("#inputForm").attr("action",
				"${ctx}/quality/check!start.action");
			$("#inputForm").submit();
			$(window.parent.forwardCheck(projectId,checkType));
			$(window.parent.closes());
		});
	});
</script>
</head>
<body>
	<form action="${ctx}/quality/check!start.action" id="inputForm"
		method="post" class="yform">
		<input type="hidden" name="id" id="id" value="${id }"> <input
			type="hidden" name="checkType" id="checkType" value="${checkType }"> <input
			type="hidden" name="projectId" id="projectId" value="${projectId }">
		<div id="caption">
			<h6>${licenseplateNumber}指定工程负责人</h6>
		</div>
		<div>
			<table class="noborder">
				<tr class="type-text">
					<td>工程负责人</td>
					<td><pt:labels type="supe" argument1="${projectId}"
							argument2="02" name="contract" toScope="request"></pt:labels> <s:select
							list="#request.contract" listKey="value" listValue="label"
							name="higher"></s:select>
					</td>
				</tr>
			</table>
		</div>
		<div class="type-button">
			<input type="button" class="submit" value="提交" id="next" name="next" />
			<input type="button" value="关闭" class="reset" onclick="closeeds();" />
		</div>
	</form>
</body>
</html>